<!doctype html>
<html>
	<head>
		<title>Product Grid</title>
		<?php include '_head_init.php' ?>
		<script type="text/javascript" src="js/product_grid.js"></script>
	</head>
	<body>
		<?php include '_navbar.php' ?>
		<div class="container">
			<div class="row">
				<ul class="thumbnails" id="product-grid">
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8804718084126.jpg">
							<div class="caption">
								<h3>10-12 Day 1</h3>
								<p>投票数: <span name="product_vote_count" class="badge">528</span></p>
								<p>评论数: <span name="product_share_count" class="badge">875</span></p>
								<a name="edit" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8812682543134.jpg">
							<div class="caption">
								<h3>10-13 Day 2</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php#2" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8814318682142.jpg">
							<div class="caption">
								<h3>10-14 Day 3</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8799372181534.jpg">
							<div class="caption">
								<h3>10-15 Day 4</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8799372181534.jpg">
							<div class="caption">
								<h3>Day 1</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8799372181534.jpg">
							<div class="caption">
								<h3>Day 1</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8799372181534.jpg">
							<div class="caption">
								<h3>Day 1</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8799372181534.jpg">
							<div class="caption">
								<h3>Day 1</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8799372181534.jpg">
							<div class="caption">
								<h3>Day 1</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8799372181534.jpg">
							<div class="caption">
								<h3>Day 1</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8799372181534.jpg">
							<div class="caption">
								<h3>Day 1</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8799372181534.jpg">
							<div class="caption">
								<h3>Day 1</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8799372181534.jpg">
							<div class="caption">
								<h3>Day 1</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
					<li class="span3">
						<div class="thumbnail">
							<img src="http://shop.mediamarkt.cn/medias/sys_master/images/8799372181534.jpg">
							<div class="caption">
								<h3>Day 1</h3>
								<p>投票数: <span class="badge">528</span></p>
								<p>评论数: <span class="badge">875</span></p>
								<a href="product_edit.php" class="btn btn-block">编辑</a>
							</div>
						</div>
					</li>
				</ul>
			</div>

			<div class="modal hide" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h3>10-13 Day 2</h3>
				</div>
				<div class="modal-body">
					<form class="form-horizontal" action="/app/api/product/set_product_picture" method="post" enctype="multipart/form-data">
						<div class="control-group">
							<label class="control-label" for="inputProductRequiredVotes">终极折扣</label>
							<div class="controls">
								<input type="text" id="inputProductRequiredVotes" placeholder="1000" value="2000">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductRequiredVotes">心动折扣</label>
							<div class="controls">
								<input type="text" id="inputProductRequiredVotes" placeholder="1000" value="2000">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductRequiredVotes">预定投票</label>
							<div class="controls">
								<input type="text" id="inputProductRequiredVotes" placeholder="1000" value="2000">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductFullPriceLink">原价链接</label>
							<div class="controls">
								<input type="text" id="inputProductFullPriceLink" placeholder="http://shop.com/product1.html" value="http://shop.mediamarkt.cn/All/Digital-Products/Video-Photo/Camcorders/Sony-DV-Camcorder-HDRCX270E/p/100111831">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductFullDiscountLink">终极链接</label>
							<div class="controls">
								<input type="text" id="inputProductFullDiscountLink" placeholder="http://shop.com/product1.html">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductHalfDiscountLink">心动链接</label>
							<div class="controls">
								<input type="text" id="inputProductHalfDiscountLink" placeholder="http://shop.com/product1.html">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductPicture">等待开启图片</label>
							<div class="controls">
								<input type="file" id="inputProductPicture" name="picture" value="hello">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductPicture">我要打折图片</label>
							<div class="controls">
								<input type="file" id="inputProductPicture" name="picture" value="hello">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductPicture">我要抢购图片</label>
							<div class="controls">
								<input type="file" id="inputProductPicture" name="picture" value="hello">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="inputProductPicture">抢购结束图片</label>
							<div class="controls">
								<input type="file" id="inputProductPicture" name="picture" value="hello">
							</div>
						</div>
					</form>
				</div>
				<div class="modal-footer">
					<a href="#" class="btn" data-dismiss="modal" aria-hidden="true">Close</a>
					<a href="#" class="btn btn-primary">Save change</a>
				</div>
			</div> <!-- end modal -->

		</div> <!-- end container -->
	</body>

</html>